class BaseParam(object):
    def setsource(self, source):
        self.source = source

    def getsource(self):
        return self.source


class BaseInfoParam(BaseParam):
    def setidCardNo(self, idCardNo):
        self.idCardNo = idCardNo
    def getidCardNo(self):
        return self.idCardNo

    def setphoneNo(self, phoneNo):
        self.phoneNo = phoneNo
    def getphoneNo(self):
        return self.phoneNo

    def setname(self, name):
        self.name = name
    def getname(self):
        return self.name


class CollectParam(BaseInfoParam):
    def setpassword(self, password):
        self.password = password
    def getpassword(self):
        return self.password

    def setworkAddress(self,workAddress):
        self.workAddress=workAddress
    def getworkAddress(self):
        return self.workAddress

    def setworkPhoneNumber(self,workPhoneNumber):
        self.workPhoneNumber=workPhoneNumber
    def getworkPhoneNumber(self):
        return self.workPhoneNumber

    def sethomeAddress(self,homeAddress):
        self.homeAddress= homeAddress
    def gethomeAddress(self):
        return self.homeAddress

    def sethomePhoneNumber(self,homePhoneNumber):
        self.homePhoneNumber=homePhoneNumber
    def gethomePhoneNumber(self):
        return self.homePhoneNumber

    def setcontactList(self,contactList):
        self.contactList=contactList
    def getcontactList(self):
        return self.contactList

class Token(BaseParam):
    def settoken(self,token):
        self.token=token
    def gettoken(self):
        return self.token

    def setcollectInfo(self,collectInfo):
        self.collectInfo=collectInfo
    def getcollectInfo(self):
        return self.collectInfo

class Captcha(Token):
    def setcaptcha(self,captcha):
        selfcaptcha=captcha
    def getcaptcha(self):
        return self.captcha
    def setMToken(self,MToken):
        self.MToken=MToken
    def getMToken(self):
        return self.MToken

class ResetPassword(BaseInfoParam):
    def setMToken(self,MToken):
        self.MToken=MToken
    def getMToken(self):
        return self.MToken
    def settoken(self,token):
        self.token=token
    def gettoken(self):
        return self.token

class Password(ResetPassword):
    def setpassword(self,password):
        self.password=password
    def getpassword(self):
        return self.password

class ResetPwd(ResetPassword):
    def setnewPassword(self,newPassword):
        self.newPassword=newPassword
    def getnewPassword(self):
        return self.newPassword

    def setcaptcha(self,captcha):
        self.captcha=captcha
    def getcaptcha(self):
        return self.captcha



